﻿
using System.Collections.Generic;

public partial class UiCodeCreate {

   
    /// <summary>
    /// Common公共Dll路径
    /// </summary>
    private readonly string _dllCommonPath = "Assets/Plugins/Common.dll";

    /// <summary>
    /// 记录PanelPrefabs路径的Json文件路径
    /// </summary>
    private readonly string _jsonForPanelPath = "Assets/GameFramework/Resources/UIPanelType.json";

    /// <summary>
    /// 记录Panel类型文件路径
    /// </summary>
    private readonly string _typeForPanelPath = "Assets/GameMain/Scripts/UI/Base/UIFormId.cs";
    /// <summary>
    /// 判断是否存在Common 以此推断是否生成Request脚本
    /// </summary>
    private bool _orHaveDllCommon
    {
        get { return GetFileSuccess(_dllCommonPath); }
    }
    /// <summary>
	/// Panel模板类脚本路径
	/// </summary>
	private readonly string _panelTemplatePath = "Assets/GameMain/Scripts/Template/PanelTemplate.cs";
    /// <summary>
    /// Panel模板类脚本内容
    /// </summary>
    private string _panelTemplateContent
    {
        get { return GetFileContent(_panelTemplatePath); }
    }
    /// <summary>
    /// Request模板类脚本路径
    /// </summary>
    private string _requestTemplatePath = "Assets/Template/RequestTemplate.cs";
    /// <summary>
    /// Request模板类脚本内容
    /// </summary>
    private string _requestTemplateContent
    {
        get { return GetFileContent(_requestTemplatePath); }
    }

 
	/// <summary>
	/// 生成文件路径
	/// </summary>
	private string _UiFilePath = "Assets/GameMain/Scripts/UI/";

    /// <summary>
    /// 生成脚本的名称集合
    /// </summary>
    private static List<string> _ScriptNameList = new List<string>();
    /// <summary>
    /// 选中物体的名称
    /// </summary>
    public static string GameObjectName = "GameObjectName";
    /// <summary>
    /// 生成的Panel脚本名称
    /// </summary>
    public static string PanelScriptName = "PanelScriptName";
    /// <summary>
    /// 生成的Request脚本名称
    /// </summary>
    public static string RequestScriptName = "RequestScriptName";

}

